package com.frinder.seata.data.domain.service.impl;

import com.frinder.seata.data.domain.dao.AccountMapper;
import com.frinder.seata.data.domain.model.Account;
import com.frinder.seata.data.domain.service.IAccountService;
import com.frinder.seata.data.base.AbstractService;
import com.frinder.seata.data.base.BaseException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by frinder on 2020/08/18.
 */
@Service
@Transactional(rollbackFor = {Exception.class, BaseException.class})
public class AccountServiceImpl extends AbstractService<Account> implements IAccountService {
    @Resource
    private AccountMapper accountMapper;

}
